const express = require('express');

const server = express();

server.use('/a.html', (req, res) => {
    res.send('a.html');
    res.end();
});

server.use('/b.html', (req, res) => {
    res.send('b.html');
    res.end();
});

server.listen(8080, () => {
    console.log('启动成功');
})